package com.sw.service;

import com.sw.pojo.Article;
import com.sw.pojo.PageBean;
import org.springframework.stereotype.Service;

@Service
public interface ArticleService {
    //新增文章
    void add(Article article);

    //条件分页查询
    PageBean<Article> list(Integer page, Integer pageSize, String categoryId, String state);

}
